package com.jh.service;

import com.jh.dto.OderPageQueryDTO;
import com.jh.dto.SettlementDataDTO;
import com.jh.result.ListResult;
import com.jh.result.PageResult;
import com.jh.vo.OderPageQueryVO;
import com.jh.vo.OrderDetailDTO;

import java.util.List;

public interface SettlementService {
    /**
     * 工作台提交订单
     * @param settlementDataDTO
     * @throws Exception
     */
    void submitSettlement(SettlementDataDTO settlementDataDTO) throws Exception;

    /**
     * 订单分页查询
     * @return
     */
    PageResult page(OderPageQueryDTO oderPageQueryDTO);

    /**
     * 根据id查询订单详情
     *
     * @param orderId
     * @return
     */
    List<OrderDetailDTO> getOrderDetails(Long orderId);

    /**
     * 根据id删除订单
     *
     * @param orderId
     */
    void deleteOrder(Long orderId);
}
